package com.demo.dao;

import com.demo.domain.Customer;

import java.util.List;

public interface CustomerDao {

    // 保存/注册
    void save(Customer customer);

    // 查询客户
    List<Customer> find();

    //id查用户
    Customer findOne(int cust_id);

    //删除
    void delete(Customer c);

    //修改
    void update(Customer customer);

    // 条件查询
    public List<Customer> findCondition(Customer customer);

    //多条件查询
    public List<Customer> findMoreCondition(Customer customer);
}
